var app=angular.module("logapp",['ngRoute']);


app.config(function ($routeProvider) {
    $routeProvider.
    when('/login', {
        templateUrl: 'login.home.html',
        controller: 'logctrl'
    }).
    when('/register', {
        templateUrl: 'register.home.html',
        controller: 'registerctrl'
    }).
    otherwise({
        redirectTo: '/login'
    })
});